package com.tanhua.db;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: cfl
 * @CreateTime: 2021-06-18 19:34
 * @Description:  我们项目使用了dubbo，传输的实体类必须实现序列化接口
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable { // 用户

    private Long id;
    private String phone; //手机号
    private String password; //密码

    private Date created;
    private Date updated;

}